<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>找朋友</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
	<script src="resources/js/jquery-1.4.2.min.js" type="text/javascript"></script>
	<link  rel="stylesheet" href="resources/css/dlg.css" />
	
	<link  rel="stylesheet" href="resources/css/boxy.css" />
	
	<script type="text/javascript" src="resources/js/jquery.boxy.js"></script>	
</head>
<body>
	<div class="dlgbox">
		<table cellpadding="0" cellpadding="0" border="0" class="tbform">
			<tr>
				<th>找找同类：</th>
				<td>
					<select><option>狗狗</option><option>猫猫</option></select>
					<select><option>边牧</option><option>边牧</option></select>
				</td>
			</tr>
			<tr>
				<th>找找邻居：</th>
				<td>
					<select><option>北京</option><option>上海</option></select>城市
					<select><option>海淀</option><option>朝阳</option></select>新政区
					<select><option>x</option><option>y</option></select>商圈
					<b class="r">*</b>
				</td>
			</tr>
			<tr>
				<th>GG/MM：</th>
				<td>
					<select><option>狗狗</option><option>猫猫</option></select>
				</td>
			</tr>
			<tr>
				<td colspan="2"class="ffpets">
					<ul class="clearfix" >
						<li>
							<div class="msg n">
								<div class="msgimg"><img src="demoimages/dogface2.gif" /></div>
								<p class="petname">蛋蛋-上海市-徐汇区</p>
								<p>狗狗-边牧-GG
									<span class="msgbtns">
										<input type="button" value="+加为好友" class="btn2" />
										<input type="button" value="+发站内信" class="btn2 btnsendmsg"  />
									</span>
								</p>
							</div>
						</li>
						<li>
							<div class="msg n">
								<div class="msgimg"><img src="demoimages/dogface2.gif" /></div>
								<p class="petname">蛋蛋-上海市-徐汇区</p>
								<p>狗狗-边牧-GG
									<span class="msgbtns">
										<input type="button" value="+加为好友" class="btn2" />
										<input type="button" value="+发站内信" class="btn2 btnsendmsg" />
									</span>
								</p>
							</div>
						</li>
						<li>
							<div class="msg n">
								<div class="msgimg"><img src="demoimages/dogface2.gif" /></div>
								<p class="petname">蛋蛋-上海市-徐汇区</p>
								<p>狗狗-边牧-GG
									<span class="msgbtns">
										<input type="button" value="+加为好友" class="btn2" />
										<input type="button" value="+发站内信" class="btn2 btnsendmsg" />
									</span>
								</p>
							</div>
						</li>
						<li>
							<div class="msg n">
								<div class="msgimg"><img src="demoimages/dogface2.gif" /></div>
								<p class="petname">蛋蛋-上海市-徐汇区</p>
								<p>狗狗-边牧-GG
									<span class="msgbtns">
										<input type="button" value="+加为好友" class="btn2" />
										<input type="button" value="+发站内信" class="btn2 btnsendmsg" />
									</span>
								</p>
							</div>
						</li>
						<li>
							<div class="msg n">
								<div class="msgimg"><img src="demoimages/dogface2.gif" /></div>
								<p class="petname">蛋蛋-上海市-徐汇区</p>
								<p>狗狗-边牧-GG
									<span class="msgbtns">
										<input type="button" value="+加为好友" class="btn2" />
										<input type="button" value="+发站内信" class="btn2 btnsendmsg" />
									</span>
								</p>
							</div>
						</li>
						<li>
							<div class="msg n">
								<div class="msgimg"><img src="demoimages/dogface2.gif" /></div>
								<p class="petname">蛋蛋-上海市-徐汇区</p>
								<p>狗狗-边牧-GG
									<span class="msgbtns">
										<input type="button" value="+加为好友" class="btn2" />
										<input type="button" value="+发站内信" class="btn2 btnsendmsg" />
									</span>
								</p>
							</div>
						</li>
					</ul>
				
					
					
				</td>
			</tr>
			<tr>
				<td class="center" colspan="2" style="text-align:center;">
					<input type="button" value="上一页" class="btn" />
					<input type="button" value="下一页" class="btn" />
				</td>
			</tr>
		</table>
	</div>
	
	<script type="text/javascript">
		$(".btnsendmsg").click(function(){
			var $this = $(this);
			window.sendmsgdlg=new Boxy("<div style='height:80px;width:440px;'><iframe src=\"petprofile-sendmsg.html\" width=\"440\" height=\"80\" frameborder=\"0\"></iframe></div>",
			 {title: "给TA发消息",modal:true,closeText:"关闭",afterHide:function(){
			 	//
			 }});
		});
	</script>
</body>
</html>
